<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	
	
		<link rel="stylesheet" href="../../css/advertising.css">
		<link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
	</head>
	<body>
		<div class="container-xxxl">
		<%-include('../comp/header.ejs')%>
  
   

       
		<div id="content">
			<div class="sidebar">
				<%-include('../comp/commnav.ejs')%>
			</div>
			<div class="infomanagement">
				<div class="head">
					<div class="path">
						<span>首页</span><span>&gt;</span>
						<span>信息管理</span><span>&gt;</span>
						<span>医院管理</span>
					</div>
				</div>
				<form action="" method="post">
				<div class="seach">
					<div class="seach_sub">
						<p>
							标题: <input type="text" name="title" placeholder="请输入资讯标题">
						</p>
						<p>
							发布时间:<input type="date" name="time" class="date"/>
						</p>
						<button type="submit">查询</button>
					</div>
				</div>
				</form>
				<div class="box1">
					<div class="container-fluid tablebox">
						<table class="table table-hover">
						  <thead>
						    <tr style="background:#f5f5f5" class="text-center">
						      <th scope="col">资讯ID</th>
						      <th scope="col">标题</th>
						      <th scope="col">分类</th>
						      <th scope="col">缩略图</th>
						      <th scope="col">发布时间</th>
						      <th scope="col">更新时间</th>
						      <th scope="col">是否显示</th>
						      <th scope="col">操作</th>
						    </tr>
						  </thead>
						  <tbody>
							<%consultData.forEach((value,index)=>{%>
						    <tr class="text-center">
						      <th scope="row" name="consultID"><%=value.consultID%></th>
						      <td name="title"><%=value.title%></td>
						      <td name="fclass"><%=value.fclass%></td>
						      <td class="im-slt"><img src="<%=value.pic%>" alt="" id="pic" name="pic"></td>
						      <td name="new_time"><%=value.new_time%></td>
						      <td name="data_time"><%=value.data_time%></td>
						      <td name="data_time"><%=value.is_status%></td>
						      <td><a href="/index/consult?id=<%=value.consultID%>" class="edit">编辑</a><a href="" class="del">删除</a></td>
						    </tr>
							<% })%>
						  </tbody>
						</table>
						
					</div>
					
					
				</div>
				<a href="#" class="addinfo">新增资讯</a>
			</div>
		</div>
	</div>
	</body>
</html>